package com.ruoyi.project.custom.mapper;

import com.ruoyi.project.custom.domain.CustomOperator;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomOperatorMapper {

    List<CustomOperator> selectShopOperators(String customId);

    CustomOperator selectCustomOperator(@Param("customId")String customId, @Param("userId")String userId);

    int insertCustomOperator(CustomOperator operator);

    int deleteCustomOperator(String customid);

    int deleteCustomOperatorByUserId(@Param("customId")String customId, @Param("userId")String userId);
}
